<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>const</title>
	</head>
	<body>
		<script>
			// const PI = 3.14;
			// PI = 3.1415927;

			// 常量声明后对应的内存地址不可更改
			const arr = [100, 200];
			arr[0] = 123;
			console.log(arr);
		</script>
	</body>
</html>
